<h1>Add URL set</h1>
<form action="" method="post">
	<div class="form-field">
		<label>Domain name:</label>
		<select name="domain_name">
			<option value="">{#RewriteHost#} (default)</option>
			{if #MultiDomainSupport#}
				{foreach $domains as $domain}
					<option value="{$domain.id}"{if $domain_name == $domain.id} selected="selected"{/if}>{$domain.domain}</option>
				{/foreach}
			{/if}
		</select><br /><br />
	</div>
	<div class="form-field">
		<label>Custom group name:</label>
		<input type="text" name="group_name" value="{$group_name}" /> (optional)
	</div>
	<div class="form-field">
		<label>URL set options:</label>
		<div class="float">
			Password protection: <input type="text" name="password" value="{$password}" /><br />
			Maximum number of hits: <input type="text" name="maxhits" value="{$maxhits|escape}" /><br />
			Expiration date: <input type="text" name="expiration" value="{$expiration|escape}" readonly="readonly" /> <img class="calendar-button" src="../images/calendar.gif" alt="Pick" title="Pick" onclick="displayDatePicker('expiration', false, 'ymd', '-');" /> <img class="empty-button" src="../images/delete.gif" alt="Empty" title="Empty" onclick="document.forms[0].expiration.value = '';" /><br />
			<input type="checkbox" name="disabled" value="1" class="no-border" {if $disabled == "1"}checked="checked" {/if}/> Disable temporarily
		</div>
		<div class="clear"></div>
	</div>
	<div class="form-field">
		<label>&nbsp;</label>
		<input type="submit" name="add_button" value="Create" />
	</div>
</form>